﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.Models.ParameterModels
{
    public class MesOutputParameterModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler? PropertyChanged;
        [Description("ID")]
        public int ID { get; set; }
        /// <summary>
        /// 对应本地属性
        /// </summary>
        [Description("对应本地属性")]
        public string PropertyName { get; set; } = string.Empty;
        /// <summary>
        /// 对应本地属性
        /// </summary>
        [Description("对应本地特性")]
        public string Description { get; set; } = string.Empty;
        /// <summary>
        /// 产品编码(电池条码)
        /// </summary>
        [Description("产品编码(电池条码)")]
        public string ProductCode { get; set; } = string.Empty;
        /// <summary>
        /// 工艺参数编码
        /// </summary>
        [Description("工艺参数编码")]
        public string TechnicsParamCode { get; set; } = string.Empty;
        /// <summary>
        /// 工艺参数名称
        /// </summary>
        [Description("工艺参数名称")]
        public string TechnicsParamName { get; set; } = string.Empty;
        /// <summary>
        /// 工艺参数值
        /// </summary>
        [Description("工艺参数值")]
        public string TechnicsParamValue { get; set; } = string.Empty;
        /// <summary>
        /// 工艺参数质量(结果判定)：0 不合格；1 合格；
        /// </summary>
        [Description("工艺参数质量")]
        public string TechnicsParamQuality { get; set; } = string.Empty;
        /// <summary>
        /// 描述
        /// </summary>
        [Description("描述")]
        public string Desc { get; set; } = string.Empty;
        /// <summary>
        /// 数据类型
        /// </summary>
        [Description("数据类型")]
        public string DataType { get; set; }=string.Empty;
        /// <summary>
        /// 是否启用
        /// </summary>
        [Description("是否启用")]
        public bool IsEnable { get; set; } = true;
    }
}
